import req from '../utils/axiosUtil'
import {API_HOST} from '../settings'


//查询商店商品分类
export async function selGoodsTypes(params) {
    return req.post(`${API_HOST}/app/category/getCategorysBusiness`, {
      ...params
    })
  }
//按商家ID和类别ID查询商品
export async function selGoodsByBT(params) {
  return req.post(`${API_HOST}/app/commodity/getCommodityList`, {
    ...params
  })
}